import request from '@/utils/request'
import { getMiniAppId } from '@/utils/index'
// l列表
export function memberIndex(data) {
  return request({
    url: '/admin/member/index',
    method: 'post',
    data: getMiniAppId(data)
  })
}
// 充值记录
export function rechangeRecord(data) {
  return request({
    url: '/admin/member/rechangeRecord',
    method: 'post',
    data: getMiniAppId(data)
  })
}
// 消费记录
export function buyRecord(data) {
  return request({
    url: '/admin/member/buyRecord',
    method: 'post',
    data: getMiniAppId(data)
  })
}

// 会员记录
export function vipRecord(data) {
  return request({
    url: '/admin/member/vipRecord',
    method: 'post',
    data: getMiniAppId(data)
  })
}
// 染色记录
export function seqLog(data) {
  return request({
    url: '/admin/member/seqLog',
    method: 'post',
    data: getMiniAppId(data)
  })
}
// 收藏记录
export function collectRecord(data) {
  return request({
    url: '/admin/member/collectRecord',
    method: 'post',
    data: getMiniAppId(data)
  })
}
// 收藏记录
export function memberLogin(data) {
  return request({
    url: '/admin/member/memberLogin',
    method: 'post',
    data: getMiniAppId(data)
  })
}
// 退款记录
export function refundRecord(data) {
  return request({
    url: '/admin/member/refundRecord',
    method: 'post',
    data: getMiniAppId(data)
  })
}
// 用户消息
export function userDetails(data) {
  return request({
    url: 'admin/member/detail',
    method: 'post',
    data: getMiniAppId(data)
  })
}
// 观看记录
export function memberView(data) {
  return request({
    url: '/admin/member/memberView',
    method: 'post',
    data: getMiniAppId(data)
  })
}
// 拉黑
export function memberStatus(params) {
  return request({
    url: '/admin/member/memberStatus',
    method: 'get',
    params
  })
}
// 内部账号
export function internalMember(params) {
  return request({
    url: '/admin/member/internalMember',
    method: 'get',
    params
  })
}